-- GENERATED SPELL FOR [Razorfang Hatchling] --


function spell0_16932(pUnit, Event) --@Ravage,n/a--
pUnit:FullCastSpellOnTarget(33781,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16932', 2288, 1)
end

function Sorts_16932(pUnit, Event)
local choix_sorts_16932 = math.random(0, 0)
if choix_sorts_16932 == 0 then
pUnit:RegisterEvent('spell0_16932', 1, 1)
end
end

function mob16932_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16932', math.random(1500, 3000), 1)
end

function mob16932_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16932_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16932_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16932, 1, 'mob16932_Action')
RegisterUnitEvent(16932, 2, 'mob16932_Leave')
RegisterUnitEvent(16932, 3, 'mob16932_Kill')
RegisterUnitEvent(16932, 4, 'mob16932_Die')
